        <?php
       $themeNameUsed = $_GET['themeName'];
       $styleScaffolding = $_GET['scaffoldStyle'];
       $styleDeclarations = $_GET['generatedStyleDeclarations'];
        echo "your style name: ". $styleScaffolding;

        $myFile = "" . $themeNameUsed . "style.css";
        $newThemeName = $themeNameUsed;
        $fh = fopen($myFile, 'w') or die("can't open file");
        $stringData = $styleDeclarations; 
       
       
        fwrite($fh, $stringData);
    
        fclose($fh);
       





       
        ?>

        
        
        